package com.sixbro.shiro.uaa.service;

import com.sixbro.shiro.uaa.model.Account;

import java.util.Set;

/**
 * <p>
 *
 * </p>
 *
 * @Author: Mr.Lu
 * @Since: 2020/6/19 17:38
 */
public interface AccountService {

    Account getById(Long id);

    Account getByUsername(String username);

    Set<String> getPermCodes(Long id, Long accessClientId);

    Set<String> getPermRoles(Long id, Long accessClientId);
}
